/**

This file is part of MaCI/GIMnet.

MaCI/GIMnet is free software: you can redistribute it and/or modify it 
under the terms of the GNU Lesser General Public License as published 
by the Free Software Foundation, either version 3 of the License, or 
(at your option) any later version.

MaCI/GIMnet is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
License for more details.

You should have received a copy of the GNU Lesser General Public 
License along with GIMnet. (See COPYING.LESSER) If not, see 
<http://www.gnu.org/licenses/>.

**/
/**
 * \file
 * \brief Dummy file for storing version information
 * \author Antti Maula <antti.maula@tkk.fi>
 *
 * $Id: JoystickCtrlVersion.hpp,v 1.3 2009-06-17 17:55:20 amaula Exp $
 *
 */
#ifndef _MACI_JOYSTICKCTRL_GIMBOCOMPO_VERSION_
#define _MACI_JOYSTICKCTRL_GIMBOCOMPO_VERSION_
#include <string>
#include "JoystickCtrl_build.h"

class JoystickCtrlVersion
{
public:
  static std::string GetVersionString(void) {
    return versionString;
  }

  static unsigned int GetBuildNumber(void) {
    return buildNumber;
  }

  static std::string versionString;
  static unsigned int buildNumber;

private:
  static std::string ConstructVersionString(const std::string &app, 
                                            const std::string &ver,
                                            const std::string &build) {
    return app + " v" + ver + " - Build " + build;
  }

};

// Construct values.
std::string JoystickCtrlVersion::versionString = 
	ConstructVersionString("JoystickCtrl",
                               "0.1.1",
                               BUILD_NUMBER_STR_JoystickCtrl);
unsigned int JoystickCtrlVersion::buildNumber = 
	BUILD_NUMBER_JoystickCtrl;


#endif
